Skip to content

Conversation

tzolov
Copy link
Contributor

@tzolov tzolov commented Jan 27, 2024

  • Add OpenAiChatOptions that implements ChatOptions and exposes all OpenAi request options, except messages and stream.
  • Add OpenAiChatOptions field (as defaultOptions) to OpenAiChatClient. Implement star-up/runtime options merging on chat request creation - Add OpenAiChatOptions options field to OpenAiChatProperties. Later is set as OpenAiChatClient#defaultOptions. Use the spring.ai.openai.chat.options.* prefix to set the options.
  • Add tests for properties and options merging.

Part of #228

 - Add OpenAiChatOptions that impements ChatOptions and exposes all OpenAi request options, except messages and stream.
 - Add OpenAiChatOptions field (as defaultOptions) to OpenAiChatClient. Implement star-up/runtime options merging on chat request creation - Add OpenAiChatOptions options field to OpenAiChatProperties. Later is set as OpenAiChatClient#defaultOptions.
   Use the 'spring.ai.openai.chat.options.*' prefix to set the options.
 - Add tests for properties and optiosn merging.

 Part of spring-projects#228
@tzolov tzolov added this to the 0.8.0 milestone Jan 27, 2024
@tzolov
Copy link
Contributor Author

tzolov commented Jan 28, 2024

Replaced by #277

@tzolov tzolov closed this Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant